<div class="ui-g-12 p-20 ui-g-nopad systemStaff">
    <p-panel headerClass="bg-none" [showScroll]="true" [marginHeight]="80">
      <p-header>
        <div class="text-right p-6-0 h-48">
          <span class="border-l-1a8fe8 p-l-8 pull-left m-t-8">{{title}}</span>
          <button pButton type="button" (click)="save()" class="btn btn-success"  label="提交"></button>
          <!-- <button pButton type="button" (click)="save('saveAdd')" *ngIf="!isEdit" label="继续新建" class="btn btn-primary m-l-8"></button> -->
          <button pButton type="button" (deClick)="returnBtn()" label="取消" class="btn btn-secondary m-l-8"></button>
        </div>
      </p-header>

      <form #form="ngForm" novalidate class="form-horizontal" role="form">
        
        
        <div class="table-row">
          <div class="table-cell text-right p-l-25">名称：</div>
          <div class="table-cell " style="min-width: 410px;">
            <input  type="text" name="name" class="p-input" placeholder="请输入..." size="30" maxlength="50" pInputText [(ngModel)]="objToPost.name">
          </div>
        </div>

        <div class="table-row">
          <div class="table-cell text-right p-l-25 v-top p-required">内容：</div>
          <div class="table-cell relative">
              <textarea rows="5" cols="35" name='content' [(ngModel)]="objToPost.content" class="width-full" pInputTextarea
                  [ngClass]="" ></textarea>
              <div class="text-right opacity06">还可输入{{255 - (objToPost.content?.length || 0)}}个字</div>
          </div>
        </div>

        <div class="table-row">
          <div class="table-cell text-right p-l-25 v-top p-required">内容：</div>
          <div class="table-cell"  style="min-height: 500px;" id = "infoTr">
            <iframe name="myiframe" id="myrame" src="/assets/wangEditor/index.html?t=1" frameborder="0" align="left" width="240%" height="100%" scrolling="auto">
              <p>你的浏览器不支持iframe标签</p>
            </iframe>
          </div>
        </div>

      </form>
      
    </p-panel>
    <script type="text/javascript">
        
    </script>
</div>